﻿using CtPlc.Pandi.ColumbusSystemMaintenance.Models;
using FluentNHibernate.Mapping;

namespace CtPlc.Pandi.ColumbusSystemMaintenance.Mapping
{
    public class CurrencyMap : ClassMap<Currency>
    {
        public CurrencyMap()
        {
            Table("GLCurrency");

            Id(x => x.Id).Column("CurrencyId");

            Map(x => x.No).Column("CurrencyNo");
            Map(x => x.Name).Column("CurrencyName");
            Map(x => x.SortOrder).Column("SortOrder");
            Map(x => x.DeactiveYN).Column("DeactiveYN");
        }
    }
}